﻿
@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_CommonLayout.cshtml";
}

@model MinistryStandardPlatformEntity.Dictionary_Detail

<script src="~/Scripts/project/dictionary_add.js"></script>

<div style="text-align:center">
    <form action="/Dictionary/Create" method="post">
        <input type="hidden" id="TypeID" name="TypeID" value="@ViewBag.id" />
        <table style="width:98%;">
            <tr>
                <td><label class="required">*</label>主字典表名称:</td>
                <td><label >@ViewBag.dicname</label></td>
            </tr>
            @*<tr>
                <td><label class="required">*</label>详细字典编号:</td>
                <td>@Html.TextBoxFor(model=>model.DicID,new { @style = "width: 100%;" })</td>
            </tr>*@
            <tr>
                <td><label class="required">*</label>详细字典表名称:</td>
                <td>@Html.TextBoxFor(model=>model.DicName,new { @style = "width: 100%;" })
                    @Html.ValidationMessageFor(model=>model.DicName)
                </td>
            </tr>
            <tr>
            <td>备注：</td>
            <td>
                <textarea name="memo" rows="3" style="width:100%;resize:none;"></textarea>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="text-align:center;">
                <input type="submit" value="确定" id="submitBtn"/>
                <input type="button" value="取消" id="cancelBtn" onclick="javascript: window.top.art.dialog.get('systemmanagedictionarycreate').close();"/>
                <div style="height:30px;"><label class="alert" id="result">@ViewBag.Message</label></div>
            </td>
        </tr>
        </table>
    </form>
</div>
<script type="text/javascript">
    registertableevent();
</script>
